/**
 * Created by MetaLab_Gu on 2016/4/21.
 */
angular.module('metalabPartnerApp').filter('creditCard', [function () {
    return function (content) {
        return content ? content.replace(/\s/g, '').replace(/(\d{4})(?=\d)/g, "$1 ") : content;
    }
}]);
